<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>city in eyes</title>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/iscroll.js"></script>
<script type="text/javascript"> 
var myScroll;
var a = 0;
function loaded() {
	setHeight();	// Set the wrapper height. Not strictly needed, see setHeight() function below.
 
	// Please note that the following is the only line needed by iScroll to work. Everything else here is to make this demo fancier.
	myScroll = new iScroll('scroller', {desktopCompatibility:true});
}
 
// Change wrapper height based on device orientation. Not strictly needed by iScroll, you may also use pure CSS techniques.
function setHeight() {
	var headerH = document.getElementById('header').offsetHeight,
		footerH = document.getElementById('footer').offsetHeight,
		wrapperH = window.innerHeight - headerH - footerH;
	document.getElementById('wrapper').style.height = wrapperH + 'px';
}
 
// Check screen size on orientation change
window.addEventListener('onorientationchange' in window ? 'orientationchange' : 'resize', setHeight, false);
 
// Prevent the whole screen to scroll when dragging elements outside of the scroller (ie:header/footer).
// If you want to use iScroll in a portion of the screen and still be able to use the native scrolling, do *not* preventDefault on touchmove.
document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
 
// Load iScroll when DOM content is ready.
document.addEventListener('DOMContentLoaded', loaded, false);
</script>
</head>

<body>
<div id="header" class="h_comm">
  <h1>city on eyes 城市天眼</h1>
  <wel>welcom</wel>
</div>
<div id="wrapper">
  <div id="scroller">
    <p class="reg_p">注册CiytOnEyes用，可以查询和上传地当餐厅、电影院、街道、地标建筑、网吧、景点等各种手机拍摄到的影像资料，为其它用户提供您所在地点最真实的资料。为更多“机友”提供出行信息查询。</p>
    <form class="form_style reg_bg">
      <label>用户名</label>
      <input type="text">
      <label>密码</label>
      <input type="text">
      <button>注册</button>
    </form>
  </div>
</div>
<div id="footer" class="footer">CityOnEyes 城市天眼 © 2011 LEG inc. 版权所有 粤ICP备07500583号-11</div>
</body>
</html>
